//
//  AVAudio.h
//  YouYiKuProject
//
//  Created by xue on 2019/1/10.
//  Copyright © 2019年 xuezi. All rights reserved.
//

#import <Foundation/Foundation.h>
@class AVAudio;

@protocol AVAudioDelegate <NSObject>

@optional
- (void)aVAudio:(AVAudio *)aVAudio aVAudioInfo:(NSDictionary*)info;


@end
@interface AVAudio : NSObject
@property (nonatomic, assign) id<AVAudioDelegate> delegate;


//全局管理对象
+ (AVAudio *)sharedInstance;
-(void)startRecorder;
-(void)stopRecorder;
- (void)playSound;
@end
